from PIL import Image, ImageSequence
 
with Image.open("3885141_1479452500iHi6.gif") as im:
    index = 1
    for frame in ImageSequence.Iterator(im):
        frame.save(f"girl{index}.png")
        index += 1